import { NgModule } from '@angular/core';
import { RouterModule } from "@angular/router";
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { MdlModule } from '@angular-mdl/core';
import {
    TreeModule, BreadcrumbModule, ToolbarModule, InputTextModule,
    InputTextareaModule, PanelModule, ButtonModule, AutoCompleteModule,
    CarouselModule, TabViewModule, PanelMenuModule, SharedModule
} from 'primeng/primeng';
import { monitorRoutes } from './monitor.routes';
import { MonitorComponent } from './monitor.component';
import { ScreenComponent } from './screen/screen.component';

@NgModule({
    imports: [
        FormsModule,
        ReactiveFormsModule,
        CommonModule,
        MdlModule,
        TreeModule,
        BreadcrumbModule,
        ToolbarModule,
        PanelModule,
        ButtonModule,
        AutoCompleteModule,
        InputTextModule,
        InputTextareaModule,
        TabViewModule,
        CarouselModule,
        PanelMenuModule,
        SharedModule,
        RouterModule.forChild(monitorRoutes)
    ],
    declarations: [
        MonitorComponent,
        ScreenComponent
    ],
    entryComponents: [
        MonitorComponent
    ],
    exports: [
    ],
    providers: [
    ]
})
export class MonitorModule { }
